@namespace Components

@if (this.isVisible)
{
    <div class="modal d-block">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">@title</h5>
                    <button type="button" class="close" @onclick="@Hide" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">×</span>
                    </button>
                </div>
                <div class="modal-body">
                    <p for="message">@message</p>
                    <div class="text-center">
                        <button class="btn btn-outline-danger" @onclick="@Hide">Close</button>
                    </div>
                </div>
            </div>
        </div>
    </div> 
}
